package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ProductCategory;

import java.util.List;

public interface ProductCategoryMapper  {
    void deleteByPrimaryKey(Long id);

    void insert(ProductCategory entity);

    ProductCategory selectByPrimaryKey(Long id);

    List<ProductCategory> selectAll();

    void updateByPrimaryKey(ProductCategory entity);


    List<ProductCategory> query(Long parentId);
}